# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-icon-theme
pkgver=1.26.0
pkgrel=0
pkgdesc="MATE desktop icons"
url="https://github.com/mate-desktop/mate-icon-theme"
arch="noarch"
license="GPL-2.0-or-later"
depends="mate-common"
makedepends="icon-naming-utils intltool"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-icon-theme-$pkgver.tar.xz"

build() {
	DATADIRNAME=share ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
937d65710c1b7cc79ba0b71cd1a480597f20035380ffd5f0528c45c86bc8963189116d2c02332352170b7cd12fba5dd91f94cee9626104ab55c576d58f0636b8  mate-icon-theme-1.26.0.tar.xz
"
